#ifndef _XMLRESPONSE_H
#define _XMLRESPONSE_H 1

#include <libxml/parser.h>
#include "Response.h"

namespace http {
  class XMLResponse : public Response
  {
    public:
      // Constructors
      XMLResponse(const std::string &, const std::string &);

      // Object methods
      std::string getBody() const;
      xmlDocPtr getBodyDoc() const {return bodyDoc;}

    private:
      // Members
      xmlDocPtr bodyDoc;
      std::string header;
  };
}

#endif /* !_XMLRESPONSE_H */
